<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/3
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>

</head>
<body>
<table border="1px solid red" >
    <tr>
            <td>id</td>
            <td>姓名</td>
            <td>年龄</td>
            <td>爱好</td>
    </tr>
    <c:forEach var="list" items="${list}">
    <tr>
            <td>${list.id}</td>
            <td>${list.name}</td>
            <td>${list.age}</td>
            <td>${list.hobby}</td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
